package com.myFwk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.myFwk.domain.SysRole;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
    /**
     * 获取用户角色Code的实现
     * @param userId
     * @return
     */
    String getUserRoleCode(Long userId);


}